layui.define(['jqform'], function (exports) {
     var $ = layui.jquery;
     var  layer = layui.layer;
     var form = layui.jqform;

     var index = parent.layer.getFrameIndex(window.name);
     $('#btn_save').click(function(){
        if($("#acceptname").val()==""){layer.msg("请选择收信人");return false;}
        //document.getElementById("form1").submit();
        parent.layer.close(index);
     });
	
     exports('news_edit', {});
});